package org.pro.core.validateCode.image;

import java.awt.image.BufferedImage;
import java.time.LocalDateTime;

import org.pro.core.validateCode.ValidateCode;

/**
 * 图片验证码属性
 * @author luoqiz
 *
 */
public class ImageCode extends ValidateCode {

	//生成的图片
	private BufferedImage image;
	
	public ImageCode(BufferedImage image, String saveData, long second) {
		super(saveData,second);
		this.image = image;
	}

	public ImageCode(BufferedImage image, String saveData, LocalDateTime localDateTime) {
		super(saveData,localDateTime);
		this.image = image;
	}

	public BufferedImage getImage() {
		return image;
	}

	public void setImage(BufferedImage image) {
		this.image = image;
	}

}
